<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>

	<!-- Basic Page Needs
  ================================================== -->
	<meta charset="utf-8" />
	<title>博客-首页</title>
    <meta name="robots" content="index, follow" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
	<meta name="author" content="" />
	<!-- 载入公共头部 -->
	{{include file="VIEW_PATH/Common/header.php"}}

      <div class="row"><div id="beforecontent" class="twelve columns"></div></div>
       <!-- MAIN CONTENT -->
        <div id="outermain" class="fullwidth">
        	<div class="container">
                <div class="row">
                	<section id="maincontent" class="twelve columns">
                    
                        <section class="content">
                        		<div id="ts-display-shortcode">
                                    <div class="header-wrapper">
                                        <h2>图片展示</h2>
                                    </div>
                                <div class="row">
                                
                                	{{foreach from="$imgData" value="$v"}}
                                    <div class="one_fourth columns item wordpress">
	                                        <div class="ts-display-pf-img">
	                                            <a class="image" href="{{__ROOT__}}/{{$v['img']}}" data-rel="prettyPhoto[mixed]" >
	                                            <span class="rollover"></span>
	                                            <span class="zoom"></span>
	                                            <img src="{{__ROOT__}}/{{$v['img']}}" alt=""/>
	                                            </a>							
	                                        </div>
	                                        <div class="ts-display-pf-text">
	                                            <h2><a>{{$v['title']}}</a></h2>
	                                            <span>{{$v['des']}}</span>
	                                        </div>
                                        	<div class="ts-display-clear"></div>
                                    </div>
                                    {{endforeach}}
                                    
                                    
                                    <div class="ts-display-clear"></div>
                                    </div>
                                </div>
                                
                                <div class="clear"></div>
                                </div>

                                <div class="row">
                                	<div class="one_half columns">
                                    	<h2>博文精选</h2>
                                    	<div style="height: 8px;"></div>
                                    	{{article limit="1" order="click"}}
                                        <p>{{$field['digest']}}</p>
                                        
                                        <div style="height: 5px;"></div>
                                        <a href="l_ct_{{$field['aid']}}.html" class="more">阅读全文 &rarr;</a>
                                        {{endarticle}}
                                        <div style="height: 100px;"></div>
                                    </div>
                                    <div class="one_half columns">
                                        <div class="header-wrapper">
                                            <h2>最近更新</h2>
                                            <div style="height: 8px;"></div>
                                        </div>
                                        <div class="row">
                                        	{{article limit="2"}}
	                                        <div class="one_half columns">
	                                        	<article class="post-shortcode">
	                                            <div class="shadow">
	                                                <img src="{{__ROOT__}}/{{$field['thumb']}}"/>
	                                            </div>
	                                            <h2 class="posttitle"><a href="l_ct_{{$field['aid']}}.html" title="{{$field['title']}}">{{mb_substrlen($field['title'],10)}}</a></h2>
	                                            <div class="date">{{date('Y-m-d',$field['sendtime'])}}</div>
	                                            <p>{{mb_substrlen($field['digest'],30)}}</p>
	                                            </article>
	                                        </div>
                                       		{{endarticle}}
                                        </div>
                                    </div>

                                </div>
                                
                            
                        </section>
                    
                	</section>
                	
                </div>
            </div>
        </div>
        <!-- END MAIN CONTENT -->
        
        <!-- FOOTER -->
        {{include file="VIEW_PATH/Common/floor.php"}}